import {setServer} from "@/utils/axios";
import {fireUrl} from "../../../url";
const fireRequest = setServer(fireUrl);

// 获取消防探测器
export function getFireDetector(query) {
  return fireRequest({
    url: '/detector/',
    method: 'get',
    params: query
  })
}

// 同步消防探测器
export function synFireDetector() {
  return fireRequest({
    url: '/detector/synData',
    method: 'get',
  })
}


